package com.haidao.admin.component.api.weixin;

import com.haidao.admin.component.api.HttpClient;
import com.haidao.admin.core.result.Resp;
import feign.Param;
import feign.RequestLine;

@HttpClient(key = "httpClient.url.amap", defUrl = "https://restapi.amap.com")
public interface AMapApi {

    @RequestLine("GET /v3/geocode/regeo?key={key}&location={location}")
    Resp regeo(@Param("key") String key, @Param("location") String location);



}
